<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户注册</title>
  <link rel="stylesheet" href="./lib/bootstrap.min.css">
  <link rel="stylesheet" href="./css/reg.css">
</head>

<body>

  <div class="main-box">

    <div>
      <div class="card">
        <div class="list-group list-group-flush">
          <div class="list-group-item text-bg-danger switch-box">
            <span>邮箱注册</span>
            <span>用户注册</span>
          </div>

          <div class="list-group-item">
            <div class="me-3 mt-3">
              <input type="text" class="form-control" id="txt_email" placeholder="请输入邮箱">
            </div>

            <div class="me-3 mt-3 d-flex">
              <div>
                <input type="text" class="form-control" id="txt_code" placeholder="请输入邮箱验证码">
              </div>
              <button class="btn btn-link" id="btnSendEmail">获取验证码</button>
            </div>
          </div>

          <div class="list-group-item">
            <button id="btnReg" class="btn btn-primary">注册</button>
            <button id="btnLogin" class="btn btn-success">返回登录</button>
          </div>

          <div class="list-group-item">
            <div class="me-3 mt-3">
              <input type="text" id="txt_username" class="form-control" placeholder="登录名">
            </div>

            <div class="me-3 mt-3">
              <input type="password" id="txt_password" class="form-control" placeholder="登录密码">
            </div>

            <div class="me-3 mt-3">
              <input type="text" id="txt_nickname" class="form-control" placeholder="用户名">
            </div>

          </div>

          <div class="list-group-item">
            <button id="btnUReg" class="btn btn-primary">注册</button>
            <button id="btnULogin" class="btn btn-success">返回登录</button>
          </div>

        </div>

      </div>

    </div>

  </div>


  <!-- 信息弹出层 -->
  <div class="toast-container position-fixed bottom-0 end-0 p-3">

    <div id="divToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">

      <div class="toast-header">
        <strong class="me-auto">服务器消息</strong>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>

      <div class="toast-body">
        Hello, world! This is a toast message.
      </div>

    </div>

  </div>

  <script src="./lib/bootstrap.bundle.min.js"></script>
  <script type="module" src="./js/reg.js"></script>

</body>

</html>